#include<string.h>
#include"student.h"
using namespace std;
Student::Student(char a[],char b[],int c)
{
	strcpy((*this).nume,a);
	strcpy((*this).prenume,b);
	(*this).nrMatricol=c;
}
char Student::getNume(char a[])
{
	int m;
	strcpy(m,(*this).nume);
	return m;
}
char Student::getPrenume(char b[])
{
	int n;
	strcpy(n,(*this).prenume);
	return n;
}
int Student::getNrMatricol(int c)
{
	int x;
	x=(*this).nrMatricol;
	return x;
}
void Student::setNume(char a[])
{ 
	strcpy((*this).nume,a);
}
void Student::setPrenume(char b[])
{
	strcpy((*this).prenume,b);
}
void Student::setNrMatricol(int c)
{
	(*this).nrMatricol=c;
}
ostream& Student::operator<<(ostream &cout,Student a)
{
	std::cout<<"\n Numele studentului este:"<<a.getNume();
	std::cout<<"\n Prenumele student este:"<<a.getPrenume();
        std::cout<<"\n Nr matricol al studentului este:"<<a.getNrMatricol();	
}



